package com.zhou;

import com.zhou.allocation.CustomBanner;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @Description : 启动类
 * @Author : zyy
 * @Date: 2024/9/29  9:34
 */
@SpringBootApplication
@Slf4j
public class BackgroundApplication {
    public static void main(String[] args) {
        SpringApplication application = new SpringApplication(BackgroundApplication.class);
        // 设置自定义 Banner
        application.setBanner(new CustomBanner());
        application.run(args);
        System.out.println("项目启动啦");
        System.out.println("如果是使用我的项目，就要天天开心哦，不要精神内耗！！！");
        System.out.println("小声哔哔......虽然我也是，哈哈哈哈");
        log.info("\n"
                + "    ^—^ \n"
                + "  ( o.o )\n"
                + "   >^<^<\n"
                + "   </ |>     ");
    }
}
